load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

filegroup(
    name = "localization_msf_local_map_test_data",
    srcs = glob([
        "test_data/**",
    ]),
)

cc_test(
    name = "localization_msf_local_map_test",
    size = "medium",
    timeout = "short",
    srcs = glob([
        "base_map/*.cc",
        "lossless_map/*.cc",
        "lossy_map/*.cc",
    ]),
    data = [
        ":localization_msf_local_map_test_data",
    ],
    linkopts = [
        "-lboost_filesystem",
        "-lboost_system",
        "-lboost_program_options",
    ],
    deps = [
        "//modules/common:log",
        "//modules/localization/msf/common/util:localization_msf_common_util",
        "//modules/localization/msf/local_map/base_map:localization_msf_base_map",
        "//modules/localization/msf/local_map/lossless_map:localization_msf_lossless_map",
        "//modules/localization/msf/local_map/lossy_map:localization_msf_lossy_map",
        "@gtest//:main",
    ],
)

cpplint()
